/*
 * @Description:权限微应用路由
 * @Date: 2023-02-21 15:14:22
 */

export default {
  path: "/auth",
  root: true,
  name: "auth",
  meta: { title: "权限中心" },
  children: [
    // 想要显示的微应用路由，都需要在主应用中注册
    {
      path: "/auth/setting",
      name: "系统设置",
      icon: "setting",
      id: "setting",
      link: "/auth/setting",
      children: [
        {
          path: "user",
          name: "机构/用户管理",
          link: "/auth/setting/user",
          component: () => import("@/Portal"),
        },
        {
          path: "role",
          name: "角色管理",
          link: "/auth/setting/role",
          component: () => import("@/Portal"),
        },
        {
          path: "lawyer",
          name: "律所/律师管理",
          link: "/auth/setting/lawyer",
          component: () => import("@/Portal"),
        },
      ],
    },
  ],
};
